module.exports = (app)=>{
    const nm = "form";
    const { router, controller } = app;
    router.post(`/api/app/${nm}/save`, controller[nm].save);
    router.post(`/api/app/${nm}/remove`, controller[nm].remove);
    router.get(`/api/app/${nm}/list`, controller[nm].list);
    router.get(`/api/app/${nm}/info`, controller[nm].info);
    router.post(`/api/app/${nm}/removeData`, controller[nm].removeData);
    router.get(`/api/app/${nm}/infoData`, controller[nm].infoData);
    router.get(`/api/app/${nm}/listData`, controller[nm].listData);
    router.post(`/api/web/${nm}/submit`, controller[nm].submit);
    
}